package com.itheima.dao;

import com.itheima.pojo.SetMeal;

import java.util.List;
import java.util.Map;

public interface SetMealDao {
    List<SetMeal> findByCondition(String queryString);

    void add(SetMeal setMeal);

    void setCheckGroupsAndSetMeal(Map<String, Integer> map);

    void deleteSetMeal_CheckGroups(Integer smId);

    void deleteById(Integer id);

    List<SetMeal> findAll();

    SetMeal findById(Integer id);

    SetMeal getSetMeal(Integer id);

    void update(SetMeal setMeal);

    List<Map<String, Object>> findSetMealCount();

}
